package com.example.htmlspringtest.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @belongsPackage: com.example.htmlspringtest.entity; 
 * @Description  
 * @Author dongmufengchun  
 * @Date 2022-06-21 14:41:31 
 * @version: 1.0  
 */

@Entity
@Table ( name ="co_test_company" )
public class oTestCompany  implements Serializable {

	private static final long serialVersionUID =  1L;

	/**
	 * 公司ID
	 */
   	@Column(name = "coId" )
	private Long coId;

	/**
	 * 公司名称
	 */
   	@Column(name = "coName" )
	private String coName;

	/**
	 * 公司资产
	 */
   	@Column(name = "coMany" )
	private Long coMany;

	/**
	 * 机构类型ID
	 */
   	@Column(name = "mechaId" )
	private Long mechaId;

	/**
	 * 行业类型ID
	 */
   	@Column(name = "instryId" )
	private Long instryId;

	/**
	 * 创建时间
	 */
   	@Column(name = "createTime" )
	private Date createTime;

	/**
	 * 银行是否开户（0：否    1：是）
	 */
   	@Column(name = "isAccountOpening" )
	private Integer isAccountOpening;

	public Long getCoId() {
		return this.coId;
	}

	public void setCoId(Long coId) {
		this.coId = coId;
	}

	public String getCoName() {
		return this.coName;
	}

	public void setCoName(String coName) {
		this.coName = coName;
	}

	public Long getCoMany() {
		return this.coMany;
	}

	public void setCoMany(Long coMany) {
		this.coMany = coMany;
	}

	public Long getMechaId() {
		return this.mechaId;
	}

	public void setMechaId(Long mechaId) {
		this.mechaId = mechaId;
	}

	public Long getInstryId() {
		return this.instryId;
	}

	public void setInstryId(Long instryId) {
		this.instryId = instryId;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getIsAccountOpening() {
		return this.isAccountOpening;
	}

	public void setIsAccountOpening(Integer isAccountOpening) {
		this.isAccountOpening = isAccountOpening;
	}

	@Override
	public String toString() {
		return "oTestCompany{" +
				"coId=" + coId +
				", coName='" + coName + '\'' +
				", coMany=" + coMany +
				", mechaId=" + mechaId +
				", instryId=" + instryId +
				", createTime=" + createTime +
				", isAccountOpening=" + isAccountOpening +
				'}';
	}
}
